#include <iostream>
#include "builder.h"


void builder::Man::showMan()
{
    switch (m_type)
    {
    case FAT_MAN:
        std::cout << "I'm a fat man" << std::endl;
        return;

    case THIN_MAN:
        std::cout << "I'm a thin man" << std::endl;
        return;

    default:
        std::cout << "I'm a normal man" << std::endl;
        return;
    }
}


void builder::Director::CreateMan()
{
    m_Builder->BuildHead();
    m_Builder->BuildBody();
    m_Builder->BuildLeftHand();
    m_Builder->BuildRightHand();
    m_Builder->BuildLeftHand();
    m_Builder->BuildRightHand();
}


